﻿namespace Traceability.App.DTO
{
    public class TraceabilityListDto
    {
        public int ID { get; set; }
        /// <summary>
        /// 商品ID（商品信息表）
        /// </summary>
        public int SID { get; set; }
        public string? GoodsName { get; set; }
        //3	Batch varchar(50) 生产批次(唯一)
        /// <summary>
        /// 生产批次(唯一)
        /// </summary>
        public string? Batch { get; set; }
        //4	ShelfLife int 保质期
        /// <summary>
        /// 保质期
        /// </summary>
        public int? ShelfLife { get; set; }
        //5	LicenseNumber varchar(50)  生产许可证号
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? LicenseNumber { get; set; }
        //6	Manufacturers varchar(50) 生产企业
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Manufacturers { get; set; }
        //7	CoverImage varchar(100)    封面图（唯一）
        /// <summary>
        /// 封面图路径
        /// </summary>
        public string? CoverImageUrl { get; set; }
        //8	Perfection int 信息完善度
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int Perfection { get; set; }
    }
}
